package com.umeng.soexample.di.modules;

import com.umeng.soexample.mvp.contract.SelUserFragmentContract;
import com.umeng.soexample.mvp.model.SelUserFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class SelUserFragmentMiodules {

    private SelUserFragmentContract.SelUserFragmentIView iView;

    public SelUserFragmentMiodules(SelUserFragmentContract.SelUserFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public SelUserFragmentContract.SelUserFragmentIView providerIView(){
        return iView;
    }

    @Provides
    public SelUserFragmentContract.SelUserFragmentIModel providerIModel(){
        return new SelUserFragmentModel();
    }

}
